Apparatus, method and system for detecting salt in a hydrocarbon fluid

ABSTRACT

A method for determining a salt concentration of a hydrocarbon fluid using a conductivity sensor and a hydrocarbon testing solution includes forming the hydrocarbon testing solution. The electropolymerizable monomer is operable to form a resultant associated polymer at a peak potential of the electropolymerizable polymer. The method includes introducing the hydrocarbon testing solution into the conductivity sensor. The method includes inducing a range of potential across the hydrocarbon testing solution such that at least a portion of the electropolymerizable monomer polymerizes. The range of induced potential includes the peak potential of the electropolymerizable polymer. The method includes detecting a range of electrical current associated with the range of potential induced. The method also includes the step of determining the salt concentration of the hydrocarbon fluid using the range of potential induced and the range of electrical current detected.

CROSS-REFERENCE TO RELATED PATENT APPLICATIONS

This application claims priority from U.S. Provisional Application No.61/671,272, filed Jul. 13, 2012. For purposes of United States patentpractice, this application incorporates the contents of the ProvisionalApplication by reference in its entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The field of invention relates to processing hydrocarbon fluids. Morespecifically, the field relates to an apparatus, method and system formonitoring salts in a hydrocarbon fluid.

2. Description of the Related Art

The amount of salt in a hydrocarbon fluid is a significant factor inseveral types of transport and refining process problems. Fouling,deactivation of catalyst and severe corrosion are indications oflong-term exposure to salt in a feed. The type and amount of salt in thehydrocarbon fluid depends mostly on the source, which in turn canreflect the severity in which hydrocarbons are being drawn from thesource or the overall age of the source field. In addition, residualsalt water from shipment tankers or handling mishaps can alsocontaminate the hydrocarbon fluid to a point where the consumer cannoteffectively process it. The presence of salt in the hydrocarbon fluid,even as low as in the parts per million (ppm) range, can causesignificant damage to refining and chemical processing equipment over ashort period.

Dispersed, small water droplets in the hydrocarbon fluid dissolve andretain the salt. The chemical composition of the salt can vary; however,typically the salt found in produced hydrocarbon fluid is sodiumchloride with lesser amounts of calcium and magnesium chlorides.

The determination of the salt concentration in the hydrocarbon fluid,especially hydrocarbon fluids made of a crude oil or a natural gascondensate, takes significant amount of effort using current methods.Current testing techniques cannot reliability or with the necessarysensitivity (sub-ppm) determine salt concentration in a timely manner.Laboratory testing and offline measurements are the only reliable meansfor accurately determining salt concentration in the hydrocarbon fluidto this level. American Standard Test Methods (ASTM) D 3230 & D 6470 arethe standardized laboratory tests for measuring the salt concentrationin a crude oil. ASTM D 3230 is an electrometric method that requiresextensive sample preparation with numerous solvents, including xylene, 1butanol and methyl alcohol. ASTM D 6470, a potentiometric technique,requires extensive sample preparation as well as additional equipmentand labor. Besides being off-line and not expedient, the otherprocedural and equipment requirements for both of these methods limittheir application towards online or “real time” salt concentrationdetermination. As with any testing method, the “human element” can alsoinadvertently influence the results and add a layer of variability.

Current online salinity sensors depend on directly testingnon-conductive paraffinic materials in an attempt to detect the presenceof an electroactive specie (that is, salt) in the bulk fluid. Existingsensors use conductive electrodes inserted into flowing crude oil. Thesalinity sensors apply potential directly into the hydrocarbon fluid inan attempt to determine conductivity of the bulk fluid. This techniquesacrifices the testing apparatus by having anodic and cathodic ionsdirectly attack the elements of the apparatus. Corrosion on the sensorprobes occurs due to conductive-metal reduction-oxidation reactions onboth the working and counter electrodes when water is present. The saltsalso precipitate directly onto the surface of the probes. Salt on thesurface of the probes causes physical deterioration through galvanicpitting even during periods of non-use. Modification to the probesurface area also changes the meaning of surface-area sensitiveresponses, for example, surface current density or voltage per unitarea. The technique is also not accurate because of the generalnon-conductivity of the bulk hydrocarbon fluid. The presence of heavyparaffin materials can also cause variations in salinity values. As forthe method of testing, conductivity can change when a shift intemperature occurs, leading to varying salinity values for the samehydrocarbon fluid sample.

Measuring the salt content in hydrocarbon fluid down to the sub-ppmlevel before introducing the material to transportation, refining or adesalting process is desirable. Currently, there are no usefultechniques to determine salt concentration to the ppm level consideredboth expeditious and reliable enough to meet commercial transportationand refining needs. A testing apparatus, method and system that makes itpossible for expedient salinity determination is desirable. Theapparatus and system should be reliable and resilient in the hydrocarbonfluid, especially in use with a salinity treatment system.

SUMMARY OF THE INVENTION

A hydrocarbon testing solution is useful for determine the saltconcentration in a hydrocarbon fluid includes the hydrocarbon fluid thatcontains the salt, an electropolymerizable monomer and a non-aqueoussolvent. The hydrocarbon fluid includes the salt and a hydrocarbonselected from a group consisting essentially of a crude oil, a naturalgas condensate, a crude oil fraction, a post-petrochemical processedmaterial and combinations thereof. The electropolymerizable monomer isoperable in the hydrocarbon testing solution to form a resultantassociated polymer at a peak potential of the electropolymerizablepolymer.

A conductivity sensor useful for determining the salt concentration ofthe hydrocarbon testing solution by forming a resultant associatedpolymer includes a housing that is operable to contain the hydrocarbontesting solution and is non-conductive. The conductivity sensor includesa three-electrode set that is positioned within the housing and includesa working electrode, a counter electrode and a reference electrode. Theworking electrode has a first surface area and the counter electrode hasa second surface area. The second surface area is greater than the firstsurface area. The working and reference electrodes together are operableto induce a potential in the hydrocarbon testing solution. The workingand counter electrodes together are operable to detect a current in thehydrocarbon testing solution. The conductivity sensor includes a mixingapparatus positioned within the housing.

A method for determining a salt concentration of a hydrocarbon fluidusing a conductivity sensor and a hydrocarbon testing solution includesthe step of forming the hydrocarbon testing solution as previouslydescribed. The method also includes the step of introducing thehydrocarbon testing solution into the conductivity sensor as previouslydescribed. The method also includes the step of inducing a range ofpotential across the hydrocarbon testing solution contained in theconductivity sensor such that at least a portion of theelectropolymerizable monomer in the hydrocarbon testing solutionpolymerizes into the resultant associated polymer and such that thehydrocarbon testing solution forms an exhausted hydrocarbon testingsolution. The range of induced potential includes the peak potential ofthe electropolymerizable polymer. The method also includes the step ofdetecting a range of electrical current associated with the range ofpotential induced using the conductivity sensor. The range of detectedelectrical current includes the peak current. The method also includesthe step of determining the salt concentration of the hydrocarbon fluidusing the range of potential induced across the hydrocarbon testingsolution and the range of electrical current detected by theconductivity sensor.

A method of treating a hydrocarbon fluid includes the step of forming ahydrocarbon testing solution. The hydrocarbon testing solution includesthe hydrocarbon fluid to be treated, an electropolymerizable monomer anda non-aqueous solvent. The hydrocarbon fluid includes a salt. Theelectropolymerizable monomer is operable in the hydrocarbon testingsolution to form a resultant associated polymer at the peak potential ofthe electropolymerizable polymer. The method includes the step ofintroducing the hydrocarbon testing solution into a conductivity sensor.The conductivity sensor includes a working electrode, a counterelectrode and a reference electrode. The method includes the step ofinducing a range of potential across the hydrocarbon testing solutioncontained in the conductivity sensor. The induction is such that atleast a portion of the electropolymerizable monomer in the hydrocarbontesting solution polymerizes into the resultant associated polymer. Theinduction also is such that the hydrocarbon testing solution forms anexhausted hydrocarbon testing solution. The range of induced potentialincludes the peak potential of the electropolymerizable polymer. Themethod includes the step of detecting a range of electrical currentassociated with the range of potential induced using the conductivitysensor. The range of detected electrical current includes the peakcurrent. The method includes the step of determining the saltconcentration of the hydrocarbon fluid using the range of potentialinduced across the hydrocarbon testing solution and the range ofelectrical current detected by the conductivity sensor. The methodincludes the step of determining the amount of hydrocarbon fluid to betreated. The method includes the step of introducing an amount ofsalt-extracting fluid into the hydrocarbon fluid. The introduction issuch that a salt-bearing salt-extracting fluid and a desalinatedhydrocarbon fluid form. The amount of salt-extracting fluid introducedis based upon the determined salt concentration of the hydrocarbon fluidand the determined amount of hydrocarbon fluid to be treated. The methodincludes the step of separating the salt-bearing salt-extracting fluidfrom the desalinated hydrocarbon fluid.

The conductivity sensor that is operable to induce electropolymerizationof the electropolymerizable monomer mixed with the hydrocarbon fluidcontaining the salt provides the peak current value at the peakpolymerization potential for the electropolymerizable monomer. The saltconcentration determination system supplies the hydrocarbon testingsolution, which contains the hydrocarbon fluid and theelectropolymerizable monomer. Identifying the peak current using thehydrocarbon testing solution allows for the determination of peakcurrent height, which is a function of the amount of salt present in thehydrocarbon testing solution. The peak current height directlycorrelates with the concentration of the salt in the hydrocarbon fluid.

Polymerization of the electropolymerizable monomer does not causephysical or chemical degradation to the conductivity sensor. In fact, insome instances the polymer protects the electrodes of the conductivitysensor from salt and ion-based degradation. Polymerization does notoccur without the presence of an electroactive species that facilitateselectron transfer through the hydrocarbon fluid. The hydrocarbon fluidprovides the electroactive species: salt.

The intensity of the peak current, otherwise known as “peak currentheight”, is proportional to the concentration of salt in the hydrocarbontesting solution. The relationship between the peak current height andthe salt concentration is a function of the proportional amounts ofhydrocarbon fluid, the non-aqueous solvent and the electropolymerizablemonomer in the hydrocarbon testing solution; the types of non-aqueoussolvent and electropolymerizable monomer; and the amount of salt in thehydrocarbon fluid. Given steady state conditions and concentrationsotherwise between hydrocarbon testing solution samples, a greater peakcurrent height results from a greater amount of salt present. Therelationship between detected peak current height and salt concentrationin the hydrocarbon fluid is directly proportional.

The conductivity sensor of the invention advantageously does not requireadjustment for process conditions, including temperature. The basis forthe peak current detected by the conductivity sensor is theconcentration of components—that is, monomer, salt, solvent—and notother process conditions. The conductivity sensor achieves detection ofsub-ppm concentration of electrically active and ionic species,including salts.

In the conductivity sensor, electrons pass through the hydrocarbontesting solution along the electropolymerizable monomer molecules andthe salts dissolved in the hydrocarbon testing solution. Radicalizedmonomer molecules form oligomers and polymeric chains. Although notintending to be bound by theory, it is believed that the resultantassociated polymer forms at the electrodes and as fine strands between(but not necessarily connecting) the working and counter electrodes ofthe conductivity sensor. The polymerization reaction is nearlyinstantaneous at the peak potential.

The conductivity sensor and the salt concentration determination systemavoid the deleterious effects of directly applying voltages to thehydrocarbon fluids containing the salt as previously described,including salt-induced corrosion of the electrodes. Because of thenear-instantaneously conversion of the electropolymerizable monomer intoits resultant associated polymer, the apparatus and system provide fast,reliable and reproducible data by applying the potential in a known andnarrow voltage range.

Lengthy sample preparation and a number of solvents as required usingASTM and other laboratory techniques are unnecessary. Rather, theembodiment method of using the embodiment conductivity sensor can resultin periodic and even continuous conductivity detection with properselection and design of the non-aqueous solvent and theelectropolymerizable monomer delivery system.

With reliable determination of the peak current height, determination ofsalt concentration values in the hydrocarbon fluid is reliable andexpedient. Operators and control systems alike can use the determinedsalt concentration to introduce the salt-extracting fluid into thehydrocarbon fluid as part of the salt extraction process.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other features, aspects, and advantages of the presentinvention are better understood with regard to the following DetailedDescription of the Preferred Embodiments, appended Claims, andaccompanying Figures, where:

FIG. 1 is a general flow and control schematic of a system using anembodiment of the conductivity sensor for performing the steps of anembodiment of the method of determining a salt concentration of ahydrocarbon fluid and for treating a hydrocarbon fluid containing salt.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The Specification, which includes the Summary of Invention, BriefDescription of the Drawings and the Detailed Description of thePreferred Embodiments, and the appended Claims refer to particularfeatures (including process or method steps) of the invention. Those ofskill in the art understand that the invention includes all possiblecombinations and uses of particular features described in theSpecification. Those of skill in the art understand that the inventionis not limited to or by the description of embodiments given in theSpecification. The inventive subject matter is not restricted exceptonly in the spirit of the Specification and appended Claims.

Those of skill in the art also understand that the terminology used fordescribing particular embodiments does not limit the scope or breadth ofthe invention. In interpreting the Specification and appended Claims,all terms should be interpreted in the broadest possible mannerconsistent with the context of each term. All technical and scientificterms used in the Specification and appended Claims have the samemeaning as commonly understood by one of ordinary skill in the art towhich this invention belongs unless defined otherwise.

As used in the Specification and appended Claims, the singular forms“a”, “an” and “the” include plural references unless the context clearlyindicates otherwise. The verb “comprises” and its conjugated formsshould be interpreted as referring to elements, components or steps in anon-exclusive manner. The referenced elements, components or steps maybe present, utilized or combined with other elements, components orsteps not expressly referenced. The verb “couple” and its conjugatedforms means to complete any type of required junction, includingelectrical, mechanical or fluid, to form a singular object from two ormore previously non-joined objects. If a first device couples to asecond device, the connection can occur either directly or through acommon connector. “Optionally” and its various forms means that thesubsequently described event or circumstance may or may not occur. Thedescription includes instances where the event or circumstance occursand instances where it does not occur. “Operable” and its various formsmeans fit for its proper functioning and able to be used for itsintended use. “Associated” and its various forms means somethingconnected with something else because they occur together or that oneproduces the other.

Spatial terms describe the relative position of an object or a group ofobjects relative to another object or group of objects. The spatialrelationships apply along vertical and horizontal axes. Orientation andrelational words including “upstream” and “downstream”

Where the Specification or the appended Claims provide a range ofvalues, it is understood that the interval encompasses each interveningvalue between the upper limit and the lower limit as well as the upperlimit and the lower limit. The invention encompasses and bounds smallerranges of the interval subject to any specific exclusion provided.

Where the Specification and appended Claims reference a methodcomprising two or more defined steps, the defined steps can be carriedout in any order or simultaneously except where the context excludesthat possibility.

FIG. 1

FIG. 1 is a general flow and control schematic of a system using anembodiment of the conductivity sensor for performing the steps of anembodiment of the method of determining a salt concentration of ahydrocarbon fluid and for treating a hydrocarbon fluid containing salt.FIG. 1 and its description facilitate a better understanding of theconductivity sensor, the hydrocarbon testing solution and methods oftheir use. In no way should FIG. 1 limit or define the scope of theinvention. FIG. 1 is a simple diagram for ease of description. Those ofordinary skill in the art understand that such systems are complexstructures with ancillary equipment and subsystems that render themoperable for their intended purpose.

FIG. 1 shows hydrocarbon fluid supply line 10, which conveys hydrocarbonfluid containing salt from upstream facilities and sources, includingstorage tank, pipeline and wellheads (not shown) to downstreamfacilities, including storage tanks, pipelines and processing units (notshown). Hydrocarbon fluid flow sensor 12 provides a signal in responseto the detected rate of fluid flow through hydrocarbon fluid supply line10. Hydrocarbon fluid flow sensor 12 is in signal communication withcomputer controller 14.

Sampling line 16 couples to hydrocarbon fluid supply line 10 and divertsa portion of the hydrocarbon fluid to conductivity testing. The amountof the hydrocarbon fluid diverted for conductivity testing is dependenton the position of sampling line fluid control valve 18. Sampling linefluid control valve 18 is in signal communication with computercontroller 14. Sampling line flow sensor 20 provides a signal inresponse to the detected rate of fluid flow through sampling line 16.Sampling line flow sensor 20 is in signal communication with computercontroller 14.

Solvent injection line 22 couples to sampling line 16 and introduces thenon-aqueous solvent into sampling line 16 such that it intimately mixeswith the hydrocarbon fluid in sampling line 16. The amount ofnon-aqueous solvent introduced is dependent on the position of solventinjection line flow control valve 24. Solvent injection line flowcontrol valve 24 is in signal communication with computer controller 14.Solvent injection line flow sensor 26 provides a signal in response tothe detected rate of non-aqueous solvent flow into sampling line 16.Solvent injection line flow sensor 26 is in signal communication withcomputer controller 14.

Monomer injection line 28 couples to sampling line 16 and introduces theelectropolymerizable monomer into sampling line 16 such that itintimately mixes with the mixture of the hydrocarbon fluid and thenon-aqueous solvent in sampling line 16 before being introduced intoconductivity sensor (dotted box 34). Mixing the hydrocarbon fluid, thenon-aqueous solvent and the electropolymerizable monomer forms thehydrocarbon testing fluid. The amount of electropolymerizable monomerintroduced is dependent on the position of monomer injection line flowcontrol valve 30. Monomer injection line flow control valve 30 is insignal communication with computer controller 14. Monomer injection lineflow sensor 32 is provides a signal in response to the detected rate ofelectropolymerizable monomer flow into sampling line 16. Monomerinjection line flow sensor 32 is in signal communication with computercontroller 14.

Sampling line 16 couples to conductivity sensor 34 and introduces thehydrocarbon testing solution to the interior of conductivity sensor 34for conductivity testing. FIG. 1 shows conductivity sensor 34 havingshell 36 through which the three electrodes—working 38, counter 40 andreference 42—pass. Conductivity sensor 34 also houses mixing apparatus44, which stirs the contents of conductivity sensor 34.

Working electrode 38, counter electrode 40 and reference electrode 42couple to and are in both electrical and signal communications withpotentiostat-galvanostat 46. Potentiostat-galvanostat 46 provides asweeping potential to the hydrocarbon testing solution between working38 and reference 42 electrodes. Potentiostat-galvanostat 46, throughconductivity sensor 34, detects the current conducted by the hydrocarbontesting solution between working 38 and counter 40 electrodes while thepotential sweeps between a first potential value and a second potentialvalue. Potentiostat-galvanostat 46 is in signal communication withcomputer controller 14.

Polymer solvent line 48 couples to conductivity sensor 34 and introducesa solvent into conductivity sensor 34 that removes any resultant polymerthat forms in conductivity sensor 34. Polymer associated with theelectropolymerizable monomer can form on working electrode 38 as aresult of performing the detection method. The flow rate and timing ofthe introduction of polymer solvent is dependent on the position ofpolymer solvent flow control valve 50. Polymer solvent flow controlvalve 50 is in signal communication with computer controller 14.

Sampling return line 52 couples to conductivity sensor 34 and conveysexhausted hydrocarbon testing solution from conductivity sensor 34 intohydrocarbon fluid supply line 10 downstream of the location wheresampling line 16 couples to hydrocarbon fluid supply line 10. Exhaustedhydrocarbon testing solution forms during conductivity testing from theintroduced hydrocarbon testing solution.

Computer controller 14 is in signal communication with output devices,including display monitor 54 and printer 56. Computer controller 14provides computer-processed information of conductivity testing, sensorinformation and process flow values for human interpretation usingpre-programmed computer instructions.

FIG. 1 also shows steam injection line 58 coupling to hydrocarbon fluidsupply line 10 downstream of hydrocarbon fluid flow sensor 12. Steaminjection line 58 introduces steam into hydrocarbon fluid supply line 10such that steam intimately mixes with the hydrocarbon fluid inhydrocarbon fluid supply line 10. The amount of steam introduced intohydrocarbon fluid supply line 10 is dependent on the position of steamflow control valve 60. Steam flow control valve 60 is in signalcommunication with computer controller 14. Steam flow sensor 62, steampressure sensor 64 and steam temperature sensor 66 provide signals inresponse to the flow rate, the pressure and the temperature of thesteam, respectively, for hydrocarbon fluid supply line 10. Steam flowsensor 62, steam pressure sensor 64 and steam temperature sensor 66 areeach in separate signal communication with computer controller 14.

Computer controller 14 has a set of computer-readable instructions (thatis, a program) and data stored in a combination of physical and virtualcomputer-accessible memory that permits the execution of steps fordetermining salt concentration in the hydrocarbon fluid using the saltconcentration determination, system. Data stored in thecomputer-accessible memory includes machine-readable information relatedto the formula or ratio of hydrocarbon testing solution components.Computer controller 14 accesses computer-accessible memory whendetermined by the computer-readable instructions.

Computer controller 14 transmits signals to external devices, includingflow control valves, to regulate elements of the salt concentrationdetermination system and formulate the hydrocarbon testing solution. Forexample, computer controller 14 transmits a signal to mixing apparatus44 of conductivity sensor 34 to provide continuous stirring of thehydrocarbon testing solution contained in shell 36. Computer controller14 uses a set of computer-readable instruction, including subroutinesthat include instructions for using well-known and understoodstatistical, mathematical and relationship algorithms, and accesseshistorical and current data stored in computer-accessible memory,including current valve positions and detected flow rates, toperiodically or continually maintain, adjust and modifies aspects of thesalt concentration determination system according to the desiredformulation of the hydrocarbon testing solution for salt concentrationdetermination.

Computer controller 14 transmits an appropriate open control valveposition signal to sampling line fluid control valve 18 to introduce anamount of the hydrocarbon fluid into conductivity sensor 34. Samplingline flow sensor 20 detects the flow and provides a flow signal inresponse to computer controller 14. Computer controller 14 periodicallyadjusts the position of sampling line fluid control valve 18 viatransmission of control valve position signal based upon the flow signalresponse from sampling line flow sensor 20 to ensure introduction of theappropriate proportional amount of hydrocarbon fluid to conductivitysensor 34.

Computer controller 14 also transmits an appropriate open control valveposition signal to solvent injection line flow control valve 24 tointroduce an amount of non-aqueous solvent into conductivity sensor 34.Solvent injection line flow sensor 26 detects the flow and provides tocomputer controller 14. Computer controller 14 periodically adjusts theposition of solvent injection line flow control valve 24 viatransmission of control valve position signal based upon the flow signalresponse from solvent injection line flow sensor 26 to ensureintroduction of the appropriate proportional amount of non-aqueoussolvent to conductivity sensor 34.

Computer controller 14 also transmits an appropriate open control valveposition signal to monomer injection line flow control valve 30 tointroduce an amount of electropolymerizable monomer into conductivitysensor 34. Monomer injection line flow sensor 32 detects the flow andprovides to computer controller 14. Computer controller 14 periodicallyadjusts the position of monomer injection line flow control valve 30 viatransmission of control valve position signal based upon the flow signalresponse from monomer injection line flow sensor 32 to ensureintroduction of the appropriate proportional amount ofelectropolymerizable monomer to conductivity sensor 34.

The hydrocarbon testing solution forms in sampling line 16 uponintroduction of all three components. Hydrocarbon testing solutionpasses into the interior of conductivity sensor 34 for testing.

Computer controller 14 transmits a signal to potentiostat-galvanostat 46to induce a sweeping potential of the hydrocarbon testing solution inconductivity sensor 34. Potentiostat-galvanostat 46 induces a sweepingpotential in the hydrocarbon testing solution between a first pre-setpotential value and a pre-set second potential value using workingelectrode 38 and reference electrode 42. Potentiostat-galvanostat 46applies the sweeping potential at a steady sweep rate to the hydrocarbontesting solution.

Conductivity sensor 34, in response, detects the resultant electricalcurrent produced from the inducement of potential between workingelectrode 38 and counter electrode 40. For the range of appliedpotential, including the peak polymerization potential for theelectropolymerizable monomer in the hydrocarbon testing solution,conductivity sensor 34 detects the associated electrical current at theapplied potentials, including the peak electrical current.

Potentiostat-galvanostat 46 correlates the values of the potentialapplied to conductivity sensor 34 with the detected electrical currentvalues from conductivity sensor 34 and transmits the potential-currentdata to computer controller 14 upon completion of the potential sweep.

Computer controller 14 uses a set of computer-readable instruction andis operable to access historical and current data stored incomputer-accessible memory, including the correlated potential-currentdata from potentiostat-galvanostat 46 and data from sensors includinghydrocarbon fluid flow rate from hydrocarbon fluid flow sensor 12, todetermine the peak current value, the peak current height, theconcentration of salt in the hydrocarbon testing solution and theconcentration of salt in the hydrocarbon fluid.

Computer controller 14 communicates with display monitor 54 and printer56 and provides determined information in formats suitable for humaninterpretation, including graphically, numerically, schematically andtextually.

Computer controller 14 also has a set of computer-readable instruction(that is, program) and data stored in a combination of physical andvirtual computer-accessible memory that permits the execution of stepsfor the salt extraction process. The determined salt concentration isuseful for determining the amount of salt in the hydrocarbon fluidflowing through hydrocarbon fluid supply line 10. In turn, the amount ofsalt in the hydrocarbon fluid dictates the amount of salt-extractionfluid for treating the hydrocarbon fluid. Data stored incomputer-accessible memory includes machine-readable information relatedto ratios of salt-extraction fluid to salt concentration or amounts andhydrocarbon fluid flow. Computer controller 14 accessescomputer-accessible memory when determined by computer-readableinstruction.

Computer controller 14 uses a set of computer-readable instruction andaccesses historical and current data stored in computer-accessiblememory, including the determined salt concentration, the flow signalfrom hydrocarbon fluid flow sensor 12, the flow signal from steam flowsensor 62, the pressure signal from steam pressure sensor 64 and thetemperature signal from steam temperature sensor 66 of the steam insteam injection line 58, to determine the amount of steam to introduceto the hydrocarbon fluid in hydrocarbon fluid supply line 10 fordownstream salt extraction.

Computer controller 14 transmits an appropriate open control valveposition signal to steam flow control valve 60 to introduce an amount ofsteam into hydrocarbon fluid in hydrocarbon fluid supply line 10 fordownstream salt extraction treatment. Computer controller 14periodically adjusts the position of steam flow control valve 60 viatransmission of control valve position signal based upon changes to anyof the prior referenced sensor signal readings and determined values,especially the determined salt concentration value, to ensureintroduction of the appropriate amount of steam into the hydrocarbonfluid for the amount of salt it contains.

Periodically, computer controller 14 introduces an amount of polymersolvent into conductivity sensor 34 through polymer solvent line 48 bytransmitting an appropriate signal to polymer solvent flow control valve50 to open. The amount introduced is sufficient to remove any resultantassociated polymer from conductivity sensor 34.

Hydrocarbon Testing Solution

The hydrocarbon testing solution useful for determining salt content inthe hydrocarbon fluid includes proportional amounts of the hydrocarbonfluid, the electropolymerizable monomer and the non-aqueous solvent. Thehydrocarbon fluid has salt, which functions as the electroactiveconstituent of the hydrocarbon testing solution. Theelectropolymerizable monomer and the non-aqueous solvent do not provideelectroactive agents. The salt facilitates the electrochemicalpolymerization reaction that produces the electrical current.

Hydrocarbon Fluid

The hydrocarbon fluid includes unfractionated and undistilled crudeoils, natural gas condensates, crude oil fractions, post-petrochemicalprocessed materials and combinations thereof. The term “hydrocarbon”includes other materials besides those bearing only hydrogen and carbonatoms. Those skilled in the art understand that untreated andundistilled hydrocarbon fluids often contain compounds that includeoxygen, sulfur and nitrogen; organometallic compounds; and metal ions,including vanadium, copper and nickel in organic-metal complexes.Hydrocarbons that are liquids at atmospheric pressure and temperaturestypically contain organic sulfur, nitrogen and oxygen compounds,including alkane and cycloalkane sulfides, mercaptans, disulfides,polysulfides and thiophenes. Hydrocarbon fluid can contain up to severalpercent by weight heterorganic compounds.

As previously stated, hydrocarbon fluid also includes previouslyprocessed, distilled or fractionated hydrocarbons, which includesatmospheric pressure boiling point crude oil fractions. Examples of suchfractions include naphtha, kerosene and diesel gas oil. In someinstances, the hydrocarbon fluid can also include vacuum-baseddistillates, paraffin oils and fractions containing some amount ofasphaltenes and maltenes. In an embodiment of the hydrocarbon testingsolution the hydrocarbon fluid includes a post-petrochemical processedmaterial contaminated with seawater. Seawater contamination ofexpensive, highly refined hydrocarbon fluids that are post-processedmaterials can motivate application of the desalination method to makethe material suitable for processing once again.

Salt in Hydrocarbon Fluid

The hydrocarbon fluid before desalination includes a concentration ofsalt. The salt concentration of produced crude oil is typically in arange of from about 20 to about 2000 milligrams (mg) per kilogram ofcrude oil. Seawater contaminated materials can have significantlygreater levels of salt. Seawater contains approximately 35 grams ofsalts per kilogram of seawater. An embodiment of the hydrocarbon testingsolution has a salt concentration in a range of from about 20 mg toabout 35 g of salt per kilogram of hydrocarbon fluid.

The dominant salt in hydrocarbon fluid is sodium chloride, but it is notthe only salt. Salts of several alkali, alkaline earth and transitionmetals coupled with halide, nitrate, sulfate and carbonate counter-ionsare potentially present. Example of salts include magnesium chloride,sulfate, and bromide; calcium chloride, bromide, and sulfate; sodiumchloride and sulfate; zinc bromide; and potassium chloride and iodide.

Electropolymerizable Monomer

The hydrocarbon testing solution includes the electropolymerizablemonomer. An embodiment of the hydrocarbon testing solution includeswhere the volume percentage ratio of the amounts of theelectropolymerizable monomer to the hydrocarbon fluid is in a range offrom about 0.01 to about 10000.

Electrochemical polymerization of the monomer in the hydrocarbon testingsolution occurs upon application of a particular “peak” potentialbetween the working and counter electrodes in the conductivity sensor.Each electropolymerizable monomer has a narrow or limited potentialrange where, upon application, electropolymerization occurs. Theresultant associated polymer forms upon polymerization. The potentialrange or value where the monomer/polymer conversion occurs is dependenton the monomer. Process conditions, including temperature, and otherhydrocarbon testing solution constituents do not influence the “peak”potential of the electropolymerizable monomer.

Although not intending to be bound by theory, it is believed that uponapplication of the “peak” potential in the presence of the monomer,electrons transfer from the charge-inducing apparatus (for example,electrodes) to the monomer molecules proximate to the apparatus. In anelectrochemical cell, the monomer molecules proximate to the counterelectrode receive electrons and electrons are removed from the monomerproximate to the working electrode. The generation of anions and cationsof unsaturated monomers initiates the electropolymerization of themonomer molecules. The polymerization reaction can occur through avariety of known polymerization reaction mechanism depending on themonomer type, including anionic and cationic chain addition, freeradical addition and electrochemical oxidation. The reaction is nearinstantaneous and only the availability of monomer limits the reaction.

The reaction of radicalized monomers produces a detectable electricalcurrent that has a maximum or apex value (“peak current”) at the “peakpotential”. Monomers reacting with one another and forming associatedpolymers around and between the electrodes transfer electrons freely,producing the detectable current via free electron transfer. Higherinduced voltage from the “peak potential” usually reveals currentattenuation from the peak current value due to reduced concentrations ofelectropolymerizable monomer proximate to and in between the working andcounter electrodes.

Useful examples of electropolymerizable monomers for the hydrocarbontesting solution include acetylene; acrylonitriles, including methylacrylonitrile; anilines, including derivatives bearing sulpho, carboxyland hydroxyl functional groups; azulene; mono-carbazoles, includingvinyl carbazole, N-carbazole and monoethyl-carbazole; dicarbazoles,including 2,6-bis-carbazol-9-yl-hexanoic acid pentafluorophenyl ester,2,6-bis-carbazol-9-yl-hexanoic acid 2,5-dioxo-pyrrolidin-1-yl ester,2,6-bis-carbazol-9-yl-hexanoic acid 1,3-dioxo-1,3-dihydro-isoindol-2-ylester, 2,6-bis-carbazol-9-yl-hexanoic acid methyl ester,2,6-bis-carbazol-9-yl-hexanoic acid, 2,6-bis-carbazol-9-yl-hexan-1-olacetate, 2,6-bis-carbazol-9-yl-chlorohexane and2,6-bis-carbazol-9-yl-hexan-1-ol; tetrathiafulvalene; naphthalenes,including diaminonaphthalene; indole; pyrroles, including N-substitutedpyrroles, N-functionalized pyrroles,N-methyl-N′-(6-pyrrol-1-ylhexyl)-4,4′-bipyridinium dihexafluorophosphateand N,N′-bis(6-pyrrol-1-ylhexyl)-4,4′-bipyridiniumdihexafluorophosphate; thiophenes, including 2,2′-bithiophene, 3-methylthiophene, 3-bromothiophene, 3,4-dibromo thiophene,3,4-dimethylthiophene, 3,4-methyl ethyl thiophene, 3,4-diethylthiophene, 3-thiomethyl thiophene, benzo-thiophene anddibenzo-thiophene; phenyl quinolone; phenylenes, includingpara-phenylene, para-phenylene vinylene and phenylene sulfide; pyridine;acrylates, including methyl methacrylate and ethyl acrylate; styrene;and vinylmetallo monomers, which are vinyl monomers with organometallicside units that form polyvinyl metallo polymers uponelectropolymerization. An embodiment of the hydrocarbon testing solutionincludes an electropolymerizable monomer that is selected from the groupconsisting essentially of anilines; acetylene; pyrroles; thiophenes,including benzo-thiophene and dibenzothiophene; indoles, azines,para-phenylenevinylenes, para-phenylenes, pyrenes, furans, selenophenes,pyrridazines, carbazoles, (methyl)acrylates and pyridine, and theirderivatives, crown ethers and combinations thereof. An embodiment of thehydrocarbon testing solution includes an electropolymerizable monomerthat is selected from the group consisting essentially of thiophene,thiophene-derivatives, aniline, aniline-derivatives, crown ethers andcombinations thereof. One of ordinary skill in the art understands thatsuitable electropolymerizable monomers also include all derivatives ofthe monomer species identified as well as other electropolymerizablemonomers not identified but suitable for electrochemical polymerizationprocesses in hydrocarbon-based solutions.

An embodiment of the hydrocarbon testing solution includes where theelectropolymerizable monomer is operable to form a resultant associatedpolymer that is electrically conductive.

Non-Aqueous Solvent

The hydrocarbon testing solution includes an amount of the non-aqueoussolvent. The solvent facilitates ion transfer during application ofpotential between the electrodes. The non-aqueous solvent also helpsdisperse salt from the hydrocarbon fluid for use duringelectropolymerization. An embodiment of the hydrocarbon testing solutionincludes where the volume percentage ratio of the amounts of non-aqueoussolvent to hydrocarbon fluid is in a range of from about 0.01 to about10000, and preferably in a range of from about 9 to about 99.

A useful non-aqueous solvent does not hinder or prevent theelectrochemical polymerization reaction from occurring. For example,those of ordinary skill in the art understand that certain solvents arenot appropriate for use with the monomer thiophene and its derivativesbecause the solvent has a dielectric constant lower than thiopene.Examples of solvents with lower-than-thiopene dielectric constantinclude water, chlorobenzene and anisole.

The non-aqueous solvent does not have to be a solvent of theelectropolymerizable monomer, but the non-aqueous solvent selectedshould not hinder the solubility of the monomer in the hydrocarbontesting solution.

An embodiment of the hydrocarbon testing solution includes thenon-aqueous solvent that is a solvent for the resultant associatedpolymer formed from the polymerization of the electropolymerizablemonomer. Such an embodiment can prevent formation of polymer film on theelectrodes during electropolymerization and remove any polymer residuevia dissolution. The resultant associated polymer formed duringelectropolymerization are not thermoset but rather thermoplastic.Thermoplastic polymers are susceptible to chemical solvation by anappropriate solvent. For example, polyaniline dissolves indimethylformamide but not acetonitrile. An appropriate non-aqueoussolvent can facilitate continuous or near-continuous/periodicconductivity testing by preventing the formation of polymer film on theelectrodes or in the conductivity sensor generally.

An embodiment of the hydrocarbon testing solution includes thenon-aqueous solvent that solubilizes or suspends non-solubilizedmaterials in the hydrocarbon fluid. Certain types of heavy crude oilscontain asphaltenes that may not adequately solubilize except incombination with long-chain paraffins provided by the non-aqueoussolvent.

Useful examples of non-aqueous solvents for use as part of thehydrocarbon testing solution include dimethylformamide;2,5-dimethoxytetrahydrofuran; tetrahydrofuran; nitrobenzene;acetonitrile; dimethyl sulfoxide; tributyl phosphate; trimethylphosphate; propylene carbonate; nitromethane; chlorobenzene; anisole;γ-butyrolactone; methanol; ethanol; propanol and dichloromethane. One ofordinary skill in the art understands that suitable non-aqueous solventsalso include other non-aqueous solvents not identified but suitable forelectrochemical polymerization processes in the hydrocarbon testingsolution.

Conductivity Sensor

The conductivity sensor is an electrolysis chemical cell useful fordetermining part-per-million/part-per-billion/part-per-trillion(ppm/ppb/ppt) concentrations of the salt in the hydrocarbon testingsolution. The conductivity sensor detects electrical current (inamperes; usually microamperes) that results from application ofelectrical potential (in volts; usually millivolts) through thehydrocarbon testing solution contained in the conductivity sensor. Thehydrocarbon testing solution contains an unknown amount of salt. Thepeak current detected by the conductivity sensor is associated with thepolymerization of the electropolymerizable monomer. The height of thepeak current correlates to the amount of salt present in the hydrocarbontesting solution, which comes from the hydrocarbon fluid.

The conductivity sensor has a shell or housing that defines an internalvoid space where conductivity testing occurs. The housing is operable topermit electrical and signal communication between the electrodes andexterior electronic devices, including a potentiostat-galvanostat or acomputer controller. Electrical insulation of the external junctions tothe electrodes fixes the position of each electrode while alsoinsulating each electrode electrically and fluidly. Such insulationprevents both the hydrocarbon testing fluid and electrical currentleakage from the interior to the exterior and between the electrodes onthe outside of the conductivity sensor.

The housing is operable to contain the hydrocarbon testing solution. Thehousing permits the introduction of the hydrocarbon testing solutioninto and the passing of the exhausted hydrocarbon testing solution fromthe interior of the conductivity sensor. An embodiment of theconductivity sensor has a housing that is operable to permit theseparate and simultaneous introduction of the hydrocarbon fluid, thenon-aqueous solvent and the electropolymerizable monomer into theconductivity sensor. In such an embodiment, the hydrocarbon testingsolution forms within the housing. An embodiment of the conductivitysensor has a housing that is operable to permit the introduction of thepre-mixed hydrocarbon testing solution.

Some housing configurations on the interior of the conductivity sensorinclude internal structures and attachments to direct or deflectincoming fluid flow, which may also support mixing in the interior ofthe sensor. Such configurations include flow deflectors and mixingbaffles. Internal structures configurations can prevent introduced fluidflow from directly interfering with conductivity testing by divertingthe flow away from the electrodes. Internal structures can also includeporous plates and mesh screens at the egress port for the exhaustedhydrocarbon testing solution. Such plates and screens remove formedsolids, especially polymer strands, from the exhausted hydrocarbontesting solution before it passes from the conductivity sensor.

The conductivity sensor housing is made of an electrically insulated orinert material. The conductivity sensor housing also resists solvation,dissolution and “swelling effects” through prolonged contact with thehydrocarbon fluid as well as the non-aqueous solvent. Examples of usefulmaterials include translucent and opaque thermoset plastics, glass andceramics. Translucent materials are useful in that it permits visualexamination of the conductivity sensor to determine if fouling, damageor a malfunction is occurring. Translucent materials also potentiallyallow other sensors or detectors to operate simultaneously with theconductivity sensor, including sensors using radiation or a light-basedbeam detection. Configurations of the sensor housing can also include asecondary, external cladding of metal, polymer or insulation to helpresist against exterior physical impact and electrical conduction.

The conductivity sensor includes an electrochemical cell three-electrodeset positioned within the housing that is operable to apply thepotential to and detect current through the hydrocarbon testingsolution. The three electrodes in the three-electrode set are theworking electrode, the counter electrode and the reference electrode.The relative position of the three electrodes to one another is notimportant as long as their position remains consistent and theelectrodes are not touching one another. The working and referenceelectrodes together are operable to induce a potential in thehydrocarbon testing solution. The working and counter electrodestogether are operable to detect a current in the hydrocarbon testingsolution.

The working electrode is made of glassy carbon, platinum, palladium,gold, carbon-graphite, stainless steel, indium-tin-oxide (ITO)conducting glass, chromium, nickel, copper, silver, lead, zinc or anyother service material suitable for electropolymerization in thehydrocarbon testing solution. Platinum is a useful material due to itshigh chemical stability and that it does not corrode easily. The workingelectrode has a predefined surface area for determining current density(units current/units area) and interpreting voltammetric results.Various known geometric forms include plate, disk, rectangle, rod andsquare shapes. Shapes having a well-defined flat surface are preferableto make corrosion detection (that is, surface pitting) and polymer filmremoval easier.

The material of construction of the working electrode accounts for thetype of electropolymerizable monomer in use. For example, those ofordinary skill in the art understand that certain electrode materialsare not appropriate for use with thiophene and its derivatives becausethe electrode material can react with ionic species present in thehydrocarbon testing solution before reaching the electropolymerizationpotential for thiophene. Examples of inappropriate materials for usewith thiophene include copper, lead, silver and zinc-based electrodematerials.

The counter electrode is made of platinum or any other service materialsuitable for electropolymerization in the hydrocarbon testing solution.Various known geometric forms include plate, disk, rectangle, rod,square, mesh and wire shapes. The counter electrode has a predefinedsurface area for determining current density (units current/units area).The surface area of the counter electrode is larger than the workingelectrode.

The reference electrode is made of silver/silver chloride; silver/silvernitrate; platinum; standard, reversible or normal hydrogen; saturatedcalomel (SC); quasi-reference electrode (QRE) or any other knownreference material or structure suitable for hydrocarbon and non-aqueoussolvent service.

The material of construction for the reference electrode accounts forthe type of non-aqueous solvent in use in the hydrocarbon testingsolution. For example, those of ordinary skill in the art understandthat certain electrode materials are not appropriate for use withacetonitrile because the reference electrode system can begin to sufferfrom voltage drift after prolonged use. An example of an inappropriatematerial for use with acetonitrile includes a platinum referenceelectrode.

The conductivity sensor includes a mixing apparatus positioned withinthe housing. The mixing apparatus is operable to maintain the intimatenature of the hydrocarbon testing solution. In an embodiment of theconductivity sensor, the mixing apparatus is operable to facilitatefluid motion that passes the exhausted hydrocarbon testing solution andany resultant solids (that is, polymers) from the conductivity sensor.Continuous mixing of the hydrocarbon testing solution permits reliableperiodic and continuous conductivity testing.

An embodiment of the mixing apparatus is a mixing blade or impeller thatcouples to an external drive mechanism and passes through the housing ofthe conductivity sensor. An embodiment of the mixing apparatus is amagnetic stirring bar that magnetically couples to an external magneticstirring plate or other drive mechanism One of ordinary skill in the artcan device appropriate means for inducing an appropriate level of fluidcirculation in the conductivity sensor to support mixing while nothindering reliable and accurate conductivity testing.

The conductivity sensor can be any size. The scale of the conductivitysensor can range from a device that can fit on a laboratory bench to aversion only requiring a few milliliters of the non-aqueous solvent andthe hydrocarbon fluid to detect the conductivity of the hydrocarbontesting solution. A smaller sized conductivity sensor reduces theconsumption of non-aqueous solvent and electropolymerizable monomer, andproduces a smaller amount of exhausted hydrocarbon testing solution forreturn to the process or disposal. The reduced size also minimizes theamount of precious metal use. The smaller size of electrodes and theconductivity sensor housing, in turn, create and retain a smaller amountof resultant associated polymer.

The conductivity sensor can support conductivity detection usinghydrocarbon testing solution as a batch, periodic and continuous manner.The conductivity sensor supports manual, fully automated and combinationtesting processes.

An embodiment of the conductivity sensor includes a means for removingassociated polymer from the interior of the conductivity sensor. In someinstances, the resulting associated polymer can accumulate on theinterior of the conductivity sensor, including the surfaces of theelectrodes. A thickening of resultant conductive polymer film on theworking or counter electrode, or both, can cause an increase in the peakcurrent height or a shift to a different voltage value where the peakcurrent occurs. With a conductive polymer, electron transfer from theelectrodes to the conductive polymer film conveys the electrons to theoutermost layer of the polymer film A conductivity sensor withelectrodes coated in conductive polymer (given all other conditions aresteady state) can produce increasing peak current values due toelectropolymerizable monomer adding to the conductive polymer film atthe polymerization potential of the monomer. The increasing peak currentvalues do not reflect increasing salt concentrations in the hydrocarbonfluids; rather, they reflect improved conductivity through a layer ofsolid conductive polymeric film. The opposite effect—where insulationoccurs and the peak current values become successively reduced—can occurwith non-conductive polymer films that are electrochemicallypolymerizable. In addition, heavy oligomers and polymer strands canattach to and aggregate in areas of the conductivity sensor where fluidflow is static, forming a solid material that hinders fluid flow.

Besides providing continuous mixing of the hydrocarbon testing solutionor using the non-aqueous solvent that is also a solvent for theresultant associated polymer, a means for removing polymer from theconductivity sensor interior includes mechanical separation or scrapingdevices. Mechanical separation devices physically cause the removal ofresultant polymer film from surfaces, including the electrodes.Mechanical separation devices include silicone paddles that areresistant to the solvation effects of the non-aqueous solvent and thealkane-dominated hydrocarbon fluid. Such silicone paddles are pliable tonot cause distortion to the surface of the electrodes or change theirrelative position if in direct contact.

Other means include introduction of a solvent directly to the surface ofthe residual polymer. The residual polymer solvent can be one of thenon-aqueous solvent previously described. An embodiment of theconductivity sensor includes a nozzle or port that is operable tointroduce a non-aqueous solvent of the resultant associated polymer intothe conductivity sensor. A further embodiment of the conductivity sensorincludes where the non-aqueous solvent introducing nozzle is operable todirect the non-aqueous solvent onto the three-electrode set. Non-aqueoussolvent can be directed onto the electrodes during or in between periodsof conductivity testing. An embodiment of the conductivity sensorincludes a nozzle or port that is operable for external manipulation.Such a nozzle can direct the non-aqueous solvent onto the electrode set.

Potentiostat-Galvanostat Device

Electrodes of the conductivity sensor are in electrical and signalcommunication with the potentiostat-galvanostat device. Thepotentiostat-galvanostat device is operable to induce a potential (involts) between the working and reference electrodes of the conductivitysensor and to correlate the detected current (in amperes) between theworking and counter electrodes. The combination potentiostat-galvanostatdevice permits the determination of current values, including the “peak”current value, at applied potentials for the hydrocarbon testingsolution using the three-electrode conductivity sensor. The use of thethree-electrode conductivity sensor in conjunction with thepotentiostat-galvanostat device permits controlled application ofpotential to the hydrocarbon testing solution and correlation andassociation of the detected current.

Useful potentiostat-galvanostat devices and other voltage-inducingdevices are operable to apply a singular potential value across theelectrochemical cell, sweeping potential values, where the potentialchanges between a first value and a second value at a fixed linear“sweep” rate, and cyclical potential values, where the potential changesat the linear sweep rate and repeatedly cycles between the firstpotential value and the second potential value. An embodiment of themethod includes inducing potential in the hydrocarbon testing fluid at alinear sweep rate in a range of from about 5 millivolts (mV/sec) toabout 0.5 volts per second. An embodiment of the method includesinducing potential a linear sweep rate of about 20 mV/sec. An embodimentof the method includes inducing potential where the first potentialvalue is about −0.3 V and the second potential value is about +2.5 Vwith respect to the reference electrode. The potentiostat-galvanostat isoperable to associate current values detected by the conductivity sensorto the applied potential values.

Potentiostat-galvanostat devices that include an incorporated monitor orprinter, or electronic connections that permit signal communicationswith external output devices, including monitors, plotters and printers,can directly convey the numerical dataset or a X-Y graphicalrepresentation (that is, a voltammogram) of the potential values versusthe associated detected current values for direct human interpretation.

The potentiostat-galvanostat device includes those devices that cantransfer the potential-current dataset containing the induced range ofpotential values and the associated range of detected current valuesusing a signal communications pathway to a computer that is operable tointerpret the potentiostat-galvanostat data for additionalcomputer-based determinations and system control.

Method for Determining Salt Concentration in the Hydrocarbon Fluid

The method for determining the salt concentration of the hydrocarbonfluid includes the step of forming the hydrocarbon testing solution. Thehydrocarbon testing solution comprises hydrocarbon fluid, anelectropolymerizable monomer and a non-aqueous solvent. Theelectropolymerizable monomer is operable in the hydrocarbon testingsolution to form a resultant associated polymer at the peak potential ofthe electropolymerizable polymer.

The method includes the step of introducing the hydrocarbon testingsolution into the conductivity sensor. The hydrocarbon testing solutionis a mixture of the hydrocarbon fluid, the electropolymerizable monomerand the non-aqueous solvent. The hydrocarbon fluid contains an amount ofsalt. The conductivity sensor is a three-electrode electrochemical cellhaving a working, counter and reference electrodes.

The method includes the step of inducing a range of potential across thehydrocarbon testing solution contained in the conductivity sensor. Therange of induced potential includes the peak potential of theelectropolymerizable polymer. The working and reference electrodesinduce the range of potential through the hydrocarbon testing solution.The inducement causes at least a portion of the electropolymerizablemonomer in the hydrocarbon testing solution polymerizes into theresultant associated polymer. The inducement also causes the hydrocarbontesting solution to form an exhausted hydrocarbon testing solution.During electropolymerization, the conductivity sensor detects the peakcurrent between the working and counter electrodes.

The method includes the step of detecting a range of electrical currentassociated with the range of potential induced using the conductivitysensor, where the range of detected electrical current includes the peakcurrent. When performing sweeping or cyclic voltammetry, the detectedcurrent increases as the potential approaches the polymerizationpotential of the monomer. Upon achieving the polymerization potential,the detected current value “peaks” as electron-transfer occurs throughthe radicalized monomer units (supported by the salt in the hydrocarbontesting solution) and the resultant associated polymer forms. Aftersurpassing the polymerization potential, the detectable current declineswith changing potential values, including increasing potential. Althoughnot intending to be bound by theory, it is believed that the drop-off indetected current reflects the depletion of electropolymerizable monomerproximate to the working and counter electrodes.

Using either manual or automated analysis techniques, the peak currentheight value is determined. One of ordinary skill in the art ofelectrochemistry is capable of determining the peak current height valuefrom the results of sweeping or cyclic voltammetry. Automated analysistechniques can include using a computer that is operable toautomatically receive and process potential-current data from thepotentiostat-galvanostat using a set of computer-readable instruction(that is, program) and data stored in a combination of physical andvirtual computer-accessible memory. The peak current height value is anabsolute value based upon the composition of the hydrocarbon testingsolution, which includes the amount of salt. Process-related factors,including fluid temperature, do not affect the determined saltconcentration values.

The method includes the step of determining the salt concentration ofthe hydrocarbon fluid using the range of potential induced across thehydrocarbon testing solution and the range of electrical currentdetected by the conductivity sensor. Given steady-state concentrationconditions for the hydrocarbon testing solution, the salt concentrationin the hydrocarbon testing solution is determinable via correlation tothe peak current height value. The operator can use manual analysistechniques, including comparison to prior conductivity testing results,standard peak current height value/salt concentration charts for thehydrocarbon testing solution or process trend analysis to determine thesalt concentration of the hydrocarbon testing solution. The operator canalso use automated computational devices, including a computer with aprogram designed for analyzing the peak current height value and thesweeping or cyclic voltammetry data to determine the salt concentrationof the hydrocarbon testing solution. The operator can determine the saltconcentration in the hydrocarbon fluid using the salt concentrationvalue for the hydrocarbon testing solution knowing the proportionalamount of hydrocarbon fluid in the hydrocarbon testing solution.

An embodiment of the method includes the step of passing the passing theexhausted hydrocarbon testing solution from the conductivity sensor. Theprocess can pass exhausted hydrocarbon testing solution to the systemfrom which the hydrocarbon fluid with salt was drawn from or it can bedisposed of through a separate facility or system, including a facilitythat is operable to recycle unused recyclable monomer, the non-aqueoussolvent, or both.

An embodiment of the process includes the step of introducing anon-aqueous solvent of the resultant associated polymer into theconductivity sensor. The non-aqueous solvent introduced is operable todissolve the resultant associated polymer from the conductivity sensorand help maintain the sensor is operating condition. In an embodiment ofthe method, the non-aqueous solvent of the resultant associated polymeris introduced into the conductivity sensor such that the exhaustedhydrocarbon testing solution present in the conductivity sensor passesfrom the conductivity sensor.

Method for Salt Extraction from Hydrocarbon Fluid

A method for extracting salt from the hydrocarbon fluid includes thestep of performing the method for determining the salt concentration ofthe hydrocarbon fluid using the conductivity sensor and the hydrocarbontesting solution as previously described. A salt-extraction fluid isused to remove at least some of the salt from the hydrocarbon fluid.Separating the treated hydrocarbon fluid from the salt-extraction fluideffectively desalinates the hydrocarbon fluid. Traditional desalinationtechniques easily separate the salt-extraction fluid from the salt forreuse and recycle.

The method includes the step of introducing an amount of salt-extractingfluid into the hydrocarbon fluid. The salt-extracting fluid and thehydrocarbon fluid intermingle. The salt-bearing salt-extracting fluidand the desalinated hydrocarbon fluid form from the treatment.Introduction of an appropriate amount of salt-extracting fluid is afunction of the concentration of the salt in the hydrocarbon fluid.

Determining the amount of the hydrocarbon fluid to be treated is also animportant factor in determining the appropriate amount ofsalt-extracting fluid to introduce. The amount of hydrocarbon fluid canbe fixed, as in the amount in a tank or vessel, or can be continuous, asin a continuous flow of material. Determining the fixed or flow rate ofthe hydrocarbon fluid using traditional process engineering ormathematical techniques provides a reliable estimate of the amount ofsalt that can be extracted from the hydrocarbon fluid using thetreatment fluid. One of ordinary skill understands that severalrelationships, including process configurations and economics, influencethe determination of the amount of salt-extraction fluid to apply to thehydrocarbon fluid and the level of salt extraction from the hydrocarbonfluid to achieve.

An embodiment of the method includes introducing additional chemicalswith the salt-extracting fluid. Useful additional chemicals includeemulsifiers, detergents and surfactants, to improve the contact betweenthe salt-extraction fluid and the hydrocarbon fluid to improve theremoval of the salt from the hydrocarbon fluid.

A useful salt-extraction fluid is water. Introducing water as thesalt-extraction fluid into the hydrocarbon fluid can occur as a liquid,a steam or as a dual-phase fluid. The vaporous form can be wet, dry orsuperheated steam. The pressure of the steam can be in a range of fromabout 15 to about 1000 pounds per square inch gauge (psig). Thetemperature of the steam can be in a range of from about 105° C. toabout 280° C. Water provided in liquid form can be in a temperaturerange of from about 1° C. to about 99° C.

The method includes separating the salt-bearing salt-extracting fluidfrom the desalinated hydrocarbon fluid. Separating the salt-bearingsalt-extracting fluid from the desalinated hydrocarbon fluid occursdownstream from the salt-extraction fluid introduction point. Theresultant is a desalinated hydrocarbon fluid ready for transport,petroleum refining and petrochemical processing. Those of skill in theart know such means and processes for removing salt from thesalt-extracting fluid.

An embodiment of the method includes introducing a fluid into thehydrocarbon fluid that neutralizes or eliminates a specific salt orionic specie. For example, the salt-extraction process can includeintroduction of a fluid that preferentially reacts with a particularsalt (sodium chloride) or a certain halide type (chloride ions). Such atechnique may remove a dominant specie of salt or ion and permit lessexpensive or intrusive process to remove other salts or ions beforefurther processing.

Supporting Equipment

Embodiments include many additional standard components or equipmentthat enables and makes operable the described apparatus, process, methodand system. Examples of such standard equipment known to one of ordinaryskill in the art includes heat exchanges, pumps, blowers, reboilers,steam generation, condensate handling, membranes, single and multi-stagecompressors, separation and fractionation equipment, valves, switches,controllers and pressure-, temperature-, level- and flow-sensingdevices.

Operation, control and performance of portions of or entire steps of aprocess or method can occur through human interaction, pre-programmedcomputer control and response systems, or combinations thereof.

What is claimed is:
 1. A method for determining a salt concentration ofa hydrocarbon fluid using a conductivity sensor and a hydrocarbontesting solution, the method comprising the steps of: forming thehydrocarbon testing solution, where the hydrocarbon testing solutioncomprises the hydrocarbon fluid, an electropolymerizable monomer and anon-aqueous solvent, where the hydrocarbon fluid includes a salt, andwhere the electropolymerizable monomer is operable in the hydrocarbontesting solution to form a resultant associated polymer at the peakpotential of the electropolymerizable polymer; introducing thehydrocarbon testing solution into the conductivity sensor, where theconductivity sensor comprises a working electrode, a counter electrodeand a reference electrode; inducing a range of potential across thehydrocarbon testing solution contained in the conductivity sensor suchthat at least a portion of the electropolymerizable monomer in thehydrocarbon testing solution polymerizes into the resultant associatedpolymer and such that the hydrocarbon testing solution forms anexhausted hydrocarbon testing solution, where the range of inducedpotential includes the peak potential of the electropolymerizablepolymer; detecting a range of electrical current associated with therange of potential induced using the conductivity sensor, where therange of detected electrical current includes the peak current; anddetermining the salt concentration of the hydrocarbon fluid using therange of potential induced across the hydrocarbon testing solution andthe range of electrical current detected by the conductivity sensor. 2.The method of claim 1 where the range of potential is induced at alinear sweep rate and where the linear sweep rate is in a range of fromabout 5 millivolts per second (mV/sec) to about 0.5 volts per second. 3.The method of claim 2 where the linear sweep rate is about 20 mV/sec. 4.The method of claim 1 further comprising the step of passing theexhausted hydrocarbon testing solution from the conductivity sensor. 5.The method of claim 1 further comprising the step of introducing anon-aqueous solvent of the resultant associated polymer into theconductivity sensor.
 6. The method of claim 5 where the non-aqueoussolvent of the resultant associated polymer is introduced into theconductivity sensor such that the exhausted hydrocarbon testing solutionpresent in the conductivity sensor passes from the conductivity sensor.7. A method of treating a hydrocarbon fluid comprising the steps of:forming a hydrocarbon testing solution, where the hydrocarbon testingsolution comprises the hydrocarbon fluid to be treated, anelectropolymerizable monomer and a non-aqueous solvent, where thehydrocarbon fluid includes a salt, and where the electropolymerizablemonomer is operable in the hydrocarbon testing solution to form aresultant associated polymer at the peak potential of theelectropolymerizable polymer; introducing the hydrocarbon testingsolution into a conductivity sensor, where the conductivity sensorcomprises a working electrode, a counter electrode and a referenceelectrode; inducing a range of potential across the hydrocarbon testingsolution contained in the conductivity sensor such that at least aportion of the electropolymerizable monomer in the hydrocarbon testingsolution polymerizes into the resultant associated polymer and such thatthe hydrocarbon testing solution forms an exhausted hydrocarbon testingsolution, where the range of induced potential includes the peakpotential of the electropolymerizable polymer; detecting a range ofelectrical current associated with the range of potential induced usingthe conductivity sensor, where the range of detected electrical currentincludes the peak current; determining the salt concentration of thehydrocarbon fluid using the range of potential induced across thehydrocarbon testing solution and the range of electrical currentdetected by the conductivity sensor; determining the amount ofhydrocarbon fluid to be treated; introducing an amount ofsalt-extracting fluid into the hydrocarbon fluid such that asalt-bearing salt-extracting fluid and a desalinated hydrocarbon fluidform, where the amount of salt-extracting fluid introduced is based uponthe determined salt concentration of the hydrocarbon fluid and thedetermined amount of hydrocarbon fluid to be treated; and separating thesalt-bearing salt-extracting fluid from the desalinated hydrocarbonfluid.
 8. The method of claim 7 where the salt-extracting fluid iswater.
 9. The method of claim 8 where the water is a superheated steam.